﻿using CalculatorFour.UnitTests.Stubs;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace CalculatorFour.UnitTests
{
    [TestClass]
    public class WCFProxyFactoryTests
    {
        [TestMethod]
        public void Method_WhenWhen_ShouldShould()
        {
            //Arrange
            var proxyFactory = new WCFProxyFactory();

            //Act
            IClientProxy<IStubChannel> proxy = proxyFactory.GetProxy<IStubChannel>("IStubEndpoint");

            //Assert
            proxy.Should().NotBeNull();
        }
    }
}